<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>AngularJS TEST day3</title>
</head>
<body>
	<div ng-app="" ng-controller="namesController">
		<ul>
			<li ng-repeat="x in names">
				{{ x.name + ', ' + x.country }}
			</li>
		</ul>
	</div>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js"></script>
	<script type="text/javascript">
	function namesController($scope){
		$scope.names = [
			{name:'Jani', country:'Norway'},
			{name:'Hege', country:'Sweden'},
			{name:'Kai', country:'Denmark'}
		];
	}
	</script>
</body>
</html>